package com.ccx.demo.dao;

import com.ccx.demo.pojo.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RoleDao {

    boolean UpRoleCode(@Param("code") Integer code,@Param("userId") Integer userId);

    SysRole SelectByCode(Integer code);
}
